This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jan 22, 2013, 6:54 AM
15 Posts

SecurityException making socket connection in Java design element

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: java,security
  • Replies: 0
I have a Java design element which uses Apache Abdera to get entries from an IBM Connections feed. This Java class is used in server-side javascript in an xpage.
When the Abdera client tries to get the Connections feed, it produces this exception:
java.lang.SecurityException: not allowed to make a socket connection to connections.isw.net.au,-1
 
I have tried adding this line to the java.policy file (in the section for permissions granted to all domains) on the Domino server and restarted the server:
permission java.net.SocketPermission "connections.isw.net.au", "connect";
 
Even with the socket permission, the SecurityException still occurs.
 
This isn't an agent, so there's no option to set the runtime security level. It depends entirely on the the java.policy file as far as I know.
How do I make Domino allow the socket connection?

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal